SET(DHASH_SRC
	dhash.c
)

ADD_LIBRARY(dhash SHARED ${DHASH_SRC})
INCLUDE_DIRECTORIES(../include /usr/include/dNux)
TARGET_LINK_LIBRARIES(dhash -lcrypto -ldcore)

INSTALL(TARGETS
		dhash
	LIBRARY DESTINATION
		${DESTDIR}/usr/lib
	LIBRARY PERMISSIONS
		OWNER_READ OWNER_WRITE
		WORLD_READ
)

